<?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;

class DatabaseSeeder extends Seeder
{
    /**
     * Seed the application's database.
     *
     * @return void
     */
    public function run()
    {
//         \App\Models\User::factory(10)->create();
//           \App\Models\User::create([
//               'name' => 'admin',
//               'password' => bcrypt('123456'),
//               'email' => '123@qq.com'
//           ]);

        $this->call(UserSeeder::class);
        $this->call(PostSeeder::class);
    }
}
